Other Constants

The following constants are available globally.

  • Undocumented

    Declaration

    Objective-C

    extern double VouchrSDKVersionNumber

    Swift

    var VouchrSDKVersionNumber: Double
  • Undocumented

    Declaration

    Objective-C

    extern const unsigned char VouchrSDKVersionString[]
  • Undocumented

    Declaration

    Objective-C

    extern const CGFloat VOButtonThemeCornerRadiusHalfHeight

    Swift

    let VOButtonThemeCornerRadiusHalfHeight: CGFloat
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSNotificationName const VOMutableVoucherDidAddMedia

    Swift

    static let VOMutableVoucherDidAddMedia: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSNotificationName const VOMutableVoucherDidUpdateMedia

    Swift

    static let VOMutableVoucherDidUpdateMedia: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSNotificationName const VOMutableVoucherDidRemoveMedia

    Swift

    static let VOMutableVoucherDidRemoveMedia: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const VOMutableVoucherNewMediaItemUserInfoKey

    Swift

    let VOMutableVoucherNewMediaItemUserInfoKey: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const VOMutableVoucherOldMediaItemUserInfoKey

    Swift

    let VOMutableVoucherOldMediaItemUserInfoKey: String
  • Error Constants **

    Declaration

    Objective-C

    extern NSString *const _Nonnull VOVoucherManagerErrorDomain

    Swift

    let VOVoucherManagerErrorDomain: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const VOVoucherActivationValidationErrorMessageKey

    Swift

    let VOVoucherActivationValidationErrorMessageKey: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const VOVoucherActivationValidationErrorFieldsKey

    Swift

    let VOVoucherActivationValidationErrorFieldsKey: String